package org.snail.constant;

import java.io.Serializable;

/**
 * 命名规则：前面显示你存的对象，后面显示你存的数据类型
 */
public class CacheNameConstant implements Serializable{
    /**
     * 这个缓存保存的是HashMap<empId, employeeDO>
     */
    public static final String EMPID_EMPDO_HASH ="employeeDoCache";

    public static final String ATTENDANCE_LIST="attendanceListCache";

    /**
     * 异常考勤
     */
    public static final String ATTENDANCE_ABNORMAL_LIST="attendanceAbnormalListCache";

    /**
     * 正常考勤
     */
    public static final String ATTENDANCE_NORMAL_LIST = "attendanceNormalListCache";

    public static final  String WXATTENDANCE_LIST="wxattendancelist";

    /**
     *缓存worNum ,,,empDO，这里面的人员存入
     */
    public static final String WORKNUM_EMP_HASH ="dingApiEmpHash";

    /**
     * 保存钉钉接口中的token数据,redis的key
     */
    public static final String TREENODE_CACHE ="treenodeCache";
    public static final String TOKEN_KEY ="access_token";   //hash--token--key
    public static final String BEGIN_TIME ="begin_time";    //hash--time--key

    /**
     * 存储 钉钉api 部门数据
     */
    public static final String DINGDING_API_DEPT_LIST ="dingApiDeptList";

    /**
     * 存储钉钉 部门人员id
     * key: deptid
     * value : List<userid>
     */
    public static final String DINGDING_DEPT_USER_LIST_CACHE ="dingUserList";

    /**
     * 群分类
     * key :群分类名称
     * VALUE : lIST<Group>
     */
    public static final String GROUP_CLASSIFICATION = "groupClassification";

    /**
     * 一个groupId 对应一条group
     */
    public static final String GROUP_ID_HASH = "groupIdHash";

    /**
     * 钉钉人员
     */
    public static final String WORKNUM_EMPDO_HASH = "workNumEmpHash";


}
